package com.csu.entiry;

import java.sql.Date;

public class BorrowInfo {
    private int borrowId;
    private int bookId;
    private String bookName;
    private String reader;
    private Date borrowDate;
    private Date returnDate;
    private int isReturn;
    private boolean shouldReturn;

    public BorrowInfo(){

    }

    public BorrowInfo(int borrowId, int bookId, String bookName, String reader, Date borrowDate,
                      Date returnDate, int isReturn) {
        this.borrowId = borrowId;
        this.bookId = bookId;
        this.bookName = bookName;
        this.reader = reader;
        this.borrowDate = borrowDate;
        this.returnDate = returnDate;
        this.isReturn = isReturn;
    }

    public int getBorrowId() {
        return borrowId;
    }

    public void setBorrowId(int borrowId) {
        this.borrowId = borrowId;
    }

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getReader() {
        return reader;
    }

    public void setReader(String reader) {
        this.reader = reader;
    }

    public Date getBorrowDate() {
        return borrowDate;
    }

    public void setBorrowDate(Date borrowDate) {
        this.borrowDate = borrowDate;
    }

    public Date getReturnDate() {
        return returnDate;
    }

    public void setReturnDate(Date returnDate) {
        this.returnDate = returnDate;
    }

    public int getIsReturn() {
        return isReturn;
    }

    public void setIsReturn(int isReturn) {
        this.isReturn = isReturn;
    }

    public boolean isShouldReturn() {
        return shouldReturn;
    }

    public void setShouldReturn(boolean shouldReturn) {
        this.shouldReturn = shouldReturn;
    }
}
